home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q1024.dms / q1024.adf / NDUK-V40.lha / V40 / fd / utility_lib.fd < prev    next >
Text File  |  1993-10-15  |  2KB  |  91 lines

  1. ##base _UtilityBase
  2. ##bias 30
  3. ##public
  4. *--- functions in V36 or higher (Release 2.0) ---
  5. *
  6. * Tag item functions
  7. *
  8. FindTagItem(tagVal,tagList)(d0/a0)
  9. GetTagData(tagValue,defaultVal,tagList)(d0/d1/a0)
  10. PackBoolTags(initialFlags,tagList,boolMap)(d0/a0/a1)
  11. NextTagItem(tagListPtr)(a0)
  12. FilterTagChanges(changeList,originalList,apply)(a0/a1,d0)
  13. MapTags(tagList,mapList,mapType)(a0/a1,d0)
  14. AllocateTagItems(numTags)(d0)
  15. CloneTagItems(tagList)(a0)
  16. FreeTagItems(tagList)(a0)
  17. RefreshTagItemClones(clone,original)(a0/a1)
  18. TagInArray(tagValue,tagArray)(d0/a0)
  19. FilterTagItems(tagList,filterArray,logic)(a0/a1,d0)
  20. *
  21. * Hook functions
  22. *
  23. CallHookPkt(hook,object,paramPacket)(a0/a2,a1)
  24. *--- (1 function slot reserved here) ---
  25. ##bias 114
  26. *
  27. * Date functions
  28. *
  29. *--- (1 function slot reserved here) ---
  30. ##bias 120
  31. Amiga2Date(seconds,result)(d0/a0)
  32. Date2Amiga(date)(a0)
  33. CheckDate(date)(a0)
  34. *
  35. * 32 bit integer muliply functions
  36. *
  37. SMult32(arg1,arg2)(d0/d1)
  38. UMult32(arg1,arg2)(d0/d1)
  39. *
  40. * 32 bit integer division funtions. The quotient and the remainder are
  41. * returned respectively in d0 and d1
  42. *
  43. SDivMod32(dividend,divisor)(d0/d1)
  44. UDivMod32(dividend,divisor)(d0/d1)
  45. *--- functions in V37 or higher (Release 2.04) ---
  46. *
  47. * International string routines
  48. *
  49. Stricmp(string1,string2)(a0/a1)
  50. Strnicmp(string1,string2,length)(a0/a1,d0)
  51. ToUpper(character)(d0)
  52. ToLower(character)(d0)
  53. *--- functions in V39 or higher (Release 3) ---
  54. *
  55. * More tag Item functions
  56. *
  57. ApplyTagChanges(list,changeList)(a0/a1)
  58. *--- (1 function slot reserved here) ---
  59. ##bias 198
  60. *
  61. * 64 bit integer muliply functions. The results are 64 bit quantities
  62. * returned in D0 and D1
  63. *
  64. SMult64(arg1,arg2)(d0/d1)
  65. UMult64(arg1,arg2)(d0/d1)
  66. *
  67. * Structure to Tag and Tag to Structure support routines
  68. *
  69. PackStructureTags(pack,packTable,tagList)(a0/a1/a2)
  70. UnpackStructureTags(pack,packTable,tagList)(a0/a1/a2)
  71. *
  72. * New, object-oriented NameSpaces
  73. *
  74. AddNamedObject(nameSpace,object)(a0/a1)
  75. AllocNamedObjectA(name,tagList)(a0/a1)
  76. AttemptRemNamedObject(object)(a0)
  77. FindNamedObject(nameSpace,name,lastObject)(a0/a1/a2)
  78. FreeNamedObject(object)(a0)
  79. NamedObjectName(object)(a0)
  80. ReleaseNamedObject(object)(a0)
  81. RemNamedObject(object,message)(a0/a1)
  82. *
  83. * Unique ID generator
  84. *
  85. GetUniqueID()()
  86. *
  87. *--- (4 function slots reserved here) ---
  88. ##bias 300
  89. *
  90. ##end
  91.